// 农资供应
const agriculturalSupplies = {
  path: '/agricultural-supplies',
  component: 'Layout',
  redirect: '/agricultural-info-management',
  name: 'agriculturalSupplies',
  meta: {
    title: '农资供应',
    icon: 'nested'
  },
  children: [
    {
      path: '/agricultural-resources-management',
      component: '/agricultural-supplies/agricultural-resources-management',
      redirect: '/slideshow-management',
      name: 'AgriculturalResourcesManagement',
      meta: { title: '农资管理', icon: 'nested' },
      children: [
        {
          path: '/slideshow-management',
          component: '/agricultural-supplies/agricultural-resources-management/slideshow-management',
          name: 'SlideshowManagement ',
          meta: { title: '轮播图管理', barFlag: true },
        },
        {
          path: '/agricultural-info-management',
          component: '/agricultural-supplies/agricultural-resources-management/agricultural-info-management',
          name: 'AgriculturalInfoManagement ',
          meta: { title: '商品分类', barFlag: true },
        },
        {
          path: '/agricultural-sort-management',
          component: '/agricultural-supplies/agricultural-resources-management/agricultural-sort-management',
          name: 'AgriculturalSortManagement',
          meta: { title: '商品列表', barFlag: true },
        },
        {
          path: '/units-management',
          component: '/agricultural-supplies/agricultural-resources-management/units-management',
          name: 'UnitsManagement',
          meta: { title: '单位管理', barFlag: true },
        },
      ]
    },
    {
      path: '/distribution-management',
      component: '/agricultural-supplies/distribution-management',
      redirect: '/pickup-location-managements',
      name: 'DistributionManagement',
      meta: { title: '配送管理', icon: 'nested' },
      children: [
        {
          path: '/pickup-location-management',
          component: '/agricultural-supplies/distribution-management/pickup-location-management',
          name: 'PickupLocationManagement',
          meta: { title: '自提点管理', barFlag: true },
        },
        // {
        //   path: '/location-management',
        //   component: '/agricultural-supplies/distribution-management/location-management',
        //   name: 'LocationManagement',
        //   meta: { title: '配送地区管理', barFlag: true },
        // }
      ]
    },
    {
      path: '/order-management',
      component: '/agricultural-supplies/order-management',
      redirect: '/artificial-order-management',
      name: 'OrderManagement',
      meta: { title: '订单管理', icon: 'nested' },
      children: [
        {
          path: '/artificial-order-management',
          component: '/agricultural-supplies/order-management/artificial-order-management',
          name: 'ArtificialOrderManagement',
          meta: { title: '人工订单管理', barFlag: true },

        },
        {
          path: '/order-handling-designated-spot',
          component: '/agricultural-supplies/order-management/order-handling-designated-spot',
          name: 'OrderHandlingDesignatedSpot',
          meta: { title: '订单处理（自提）', barFlag: true },
        },
        {
          path: '/order-handling',
          component: '/agricultural-supplies/order-management/order-handling',
          name: 'OrderHandling',
          meta: { title: '订单处理（配送）', barFlag: true },
        },
        {
          path: '/order-handling-designated-sales-return',
          component: '/agricultural-supplies/order-management/order-handling-designated-sales-return',
          name: 'OrderHandling',
          meta: { title: '订单处理（退货）', barFlag: true },
        },

        // {
        //   path: '/order-handling-delivery-pickup',
        //   component: '/agricultural-supplies/order-management/order-handling-delivery-pickup',
        //   name: 'OrderHandlingDesignatedSpot',
        //   meta: { title: '订单处理（配送/自提）', barFlag: true },
        // }
      ]
    },
    {
      path: '/customer-management',
      component: '/agricultural-supplies/customer-management',
      redirect: '/customer-service-chat',
      name: 'CustomerManagement',
      meta: { title: '客服', icon: 'nested' },
      children: [
        {
          path: '/customer-service-management',
          component: '/agricultural-supplies/customer-management/customer-service-management',
          name: 'CustomerServiceManagement',
          meta: { title: '客服管理', barFlag: true },
        },
        {
          path: '/customer-service-chat',
          component: '/agricultural-supplies/customer-management/customer-service-chat',
          name: 'CustomerServiceChat',
          meta: { title: '客服对话', barFlag: true },
        },
        {
          path: '/chatting-records',
          component: '/agricultural-supplies/customer-management/chatting-records',
          name: 'ChattingRecords',
          meta: { title: '会话记录', barFlag: true },
        }
      ]
    }
  ]
}
export default agriculturalSupplies